home *** CD-ROM | disk | FTP | other *** search
- On 29-Mar-98, Alastair Murray smashed the keyboard with:
- > Use the same technique I said except use Text Length(T$) to get the
- > width in pixels of the text.
- > Remember that if the font has height H and you do Text X,Y,A$
- > Then the top left of the text is at X,Y-H and the bottom right is at
- > X+Text Length(A$),Y.
- > Just set a zone to these coords.
-
- NO !! The UL-corner of text is NOT in Y-H, it's in Y-Text Base...
- eg. for topaz-8 (standard) the height is 8, but the text base is 7..
- --
- Kind regards from
- ______________________________________________________________________________
- /_ __/ __ / __ /\ ___\ __ \__ _\ aka. JENS VANG PETERSEN
- / / / /_/ / ____/ \ \___\ __ \ \ \ top_cat@post8.tele.dk
- /_/ /_____/_/ \_____\_\ \_\ \_\
- ------------------------------------------------------------------------------
- http://home8.inet.tele.dk/top_cat/
- -+- Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO -+-
- -+- SUPPORT - AMOS - AMIGA - AQUA - STARTREK TNG -+-
- ------------------------------------------------------------------------------
- Foolproof operation: All parameters are hard coded.
- ------------------------------------------------------------------------------
-
-
-